//
//  main.swift
//  DataSructure
//
//  Created by Clover on 2020/6/1.
//  Copyright © 2020 Clover. All rights reserved.
//

import Foundation

//let list = List().testListNode()
//list.printList(list.head)

//let leftNode = list.getLeftList(list.head, 3)
//list.printList(leftNode)
//
//print("-----partition------")
//let part = list.partition(list.head, 3)
//list.printList(part)

let sol = Solution()
//print(sol.searchNums([4,5,6,7,0,1,2], 0))
//print(sol.firstBadVersion(5));
print(sol.CheckPermutation("abc", "bca"));


